package com.softhis.rekrutacja.client.view.widgets.impl;

import com.extjs.gxt.ui.client.data.BeanModel;
import com.extjs.gxt.ui.client.store.ListStore;
import com.extjs.gxt.ui.client.widget.grid.ColumnModel;
import com.extjs.gxt.ui.client.widget.grid.Grid;
import com.softhis.rekrutacja.client.view.widgets.interfaces.IGrid;

public class MyGxtGrid extends Grid<BeanModel> implements IGrid {

	public MyGxtGrid(ListStore<BeanModel> store, ColumnModel cm) {
		super(store, cm);
	}

	public void selectRow(int row) {
		getSelectionModel().select(row, false);
	}

	public void unSelectRow(int row) {
		getSelectionModel().deselect(row);
	}

}
